|
|
|
|
|
|
|
Learn to use the Data Form Wizard |
|
|
|
|
|
|
|
|
Learn to use the Application Wizard |
|
|
|
|
|
|
|
|
Sample Project File: \Chapter26\Wizards.vbp |
|
|
|
|
|
|
|
|
The Data Form Wizard allows you to specify the name of a table in either an Access MDB database or in a remote database connected through an ODBC data source and generate a data entry form from that tables information. You have the ability to generate forms that use the following formats: |
|
|
|
|
|
|
|
|
Single-record data control style |
|
|
|
|
|
|
|
|
Master and detail records |
|
|
|
|
|
|
|
|
Microsoft Hierarchical FlexGrid |
|
|
|
|
|
|
|
|
This tool is available in both the Professional and Enterprise Editions of Visual Basic. To use it, you need to select it from the Add-Ins, Add-In Manager menu item. |
|
|
|
|
|
|
|
|
The Data Form Wizard asks you a series of questions about the table you want to get information from, which fields from that table you want to use, the type of data entry form you want to create, and whether you want data modification buttons as well as data navigation buttons on the form. Lets look at each of the forms the Data Form Wizard presents to you when you start this process. |
|
|
|
|
|
|
|
|
The Introduction form, shown in Figure 26.1, prompts you for any previously created profiles. A profile is created after youve run the Data Form Wizard one time and have chosen a series of options. You can save all these options into a profile. This is a great idea if youre going to create a lot of screens that are similar in look and feel. |
|
|
|
|
|